package com.jyw.business.ins.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalTime;

/**
 * 巡检计划执行时间对象 ins_plan_execution_time
 *
 * @author system
 * @date 2023-10-07
 */
@Data
@TableName("ins_plan_execution_time")
@ApiModel("巡检计划执行时间实体")
public class InsPlanExecutionTime {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 巡检计划ID
     */
    @ApiModelProperty("巡检计划ID")
    @Excel(name = "巡检计划ID")
    private Long planId;

    /**
     * 开始时间
     */
    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "HH:mm:ss")
    private LocalTime startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "HH:mm:ss")
    private LocalTime endTime;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

}
